package com.cysion.study.helper

import android.support.v4.app.Fragment
import com.cysion.study.R
import com.cysion.study.ui.fragment.*
import java.util.*

object FragmentListVals {
    //普通教师首页fragment
    fun getTeacherFragments(): MutableList<Fragment> {
        var fragmentArrayList = ArrayList<Fragment>()
//        fragmentArrayList.add(TeacherFragment())//旧首页
//        fragmentArrayList.add(ClassManagesFragment())//课程管理

        fragmentArrayList.add(TeacherFragment1())//新首页
        fragmentArrayList.add(AddressBookFragment())//通讯录
//        fragmentArrayList.add(LeveManageFragment())//课程推广  暂时隐藏
        fragmentArrayList.add(MeFragment())
        return fragmentArrayList
    }
    fun getIcons(): IntArray {
        var ints = IntArray(3)
        ints[0] = R.drawable.home_study_selector
//        ints[1] = R.drawable.home_hot_selector
        ints[1] = R.drawable.home_dingzhi_selector
        ints[2] = R.drawable.home_user_selector
        return ints
    }
    fun getTitles(): MutableList<String> {
        var strings = ArrayList<String>()
        strings.add("首页")
        strings.add("通讯录")
//        strings.add("课程推广")//暂时隐藏
        strings.add("我的")
        return strings
    }

    ////家教配置
    fun getPTeacherFragments(): MutableList<Fragment> {
        var fragmentArrayList = ArrayList<Fragment>()
        fragmentArrayList.add(PTeacherFragment())//家教新首页  家教第三版
        fragmentArrayList.add(POrderFragment())//家教新订单页  家教第三版
        fragmentArrayList.add(PMeFragment())//个人中心   家教第三版

//        fragmentArrayList.add(PrivateTeacherFragment1())//私教新首页  家教第二版
//        fragmentArrayList.add(CourseFragment())//课表  家教第二版
//        fragmentArrayList.add(RecruitListFragment())//招聘信息  家教第二版
//        fragmentArrayList.add(PrivateTeacherFragment())//私教首页 家教第一版
//        fragmentArrayList.add(PrivateManageFragment())//家教管理  家教第一版
//        fragmentArrayList.add(PrivateMeFragment())//个人中心
        //家教第三版

        return fragmentArrayList
    }
    fun getPIcons(): IntArray {
        var ints = IntArray(3)
        ints[0] = R.drawable.home_study_selector
        ints[1] = R.drawable.p_order_selector
//        ints[1] = R.drawable.home_ke_selector
//        ints[2] = R.drawable.home_zhaop_selector
        ints[2] = R.drawable.home_user_selector
        return ints
    }
    fun getPTitles(): MutableList<String> {
        var strings = ArrayList<String>()
        strings.add("首页")
//        strings.add("课表")
//        strings.add("预约管理")
        strings.add("订单")
        strings.add("我的")
        return strings
    }




    /////////////////////

    fun getApprovalIcons(): IntArray {
        var ints = IntArray(4)
        ints[0] = R.drawable.home_study_selector
        ints[1] = R.drawable.home_hot_selector
        ints[2] = R.drawable.home_dingzhi_selector
        ints[3] = R.drawable.home_user_selector
        return ints
    }
    fun getApprovalTitles(): MutableList<String> {
        var strings = ArrayList<String>()
        strings.add("待审批")
        strings.add("已审批")
        strings.add("抄送")
        return strings
    }
}